<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ScheduleLinkGen
 *
 * @author aneto
 */
class StructureActionsLinkGen extends LinkGen {

	public function link($id, $additionalParams = array(), $full = false){
		if(!isset($id))
			$id = $this->getAction()->getRoute()->getObject()->getId();
		
		$nodeLink = LinkGen::getInstance(LinkGen::STRUCTURE)->linkParts($id);


		return url_for('structure_actions',
			array_merge(
				$nodeLink,
				$additionalParams
			),
			$full
		);
	}

	protected function init(){

	}

	public function linkParts($id, $additionalParams = array()){

	}

}